<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body>

<table border="1" cellspacing="0"align="center">
			<tr align="center">
				<td width=300>ID</td>
				<td width=300>이름</td>
				<td width=300>닉네임</td>
				<td width=300>성별</td>
				<td width=300>전화번호</td>
				<td width=300>생년월일</td>
				<td width=300>Email</td>
				<td width=300>회원등급 (lev1=일반회원 lev2=관리자)</td>
				<td width=300>탈퇴여부(mlt=가입 mlf=탈퇴)</td>
				<td>삭제 버튼</td>
				<td>수정 버튼</td>
				</tr>
				<c:forEach items="${requestScope.result }" var="member">
				<tr><td>${member.memberId }</td>
				<td>${member.memberName }</td>
				<td>${member.nickName }</td>
				<td>${member.gender }</td>
				<td>${member.phoneNumber }</td>
				<td>${member.birthYear }/${member.birthMonth }/${member.birthDay }</td>
				<td>${member.email }</td>
				<td>${member.memberGrade }</td>
				<td>${member.memberLeave }</td>
				<td><input type="button" value="삭제" onclick="location.href='${initParam.rootPath }/admin/deleteAdminMember.do?memberId=${member.memberId }'" />
				<td><input type="button" value="수정" onclick="location.href='${initParam.rootPath }/admin/dateAdminMember.do?memberId=${member.memberId }'" />
				</tr>
				</c:forEach>
</table>
<a href="${initParam.rootPath }/admin/login_success.jsp">관리자 페이지로 이동</a>


</body>
</html>